
<link href="<{$res_url}>/css/wap/public.css" rel="stylesheet" type="text/css">
<link href="<{$res_url}>/css/wap/home.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.min.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/TouchSlide.1.1.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.yomi.js"></script>
<!-----"头像"左右滑动----->
<script type="text/javascript" src="<{$res_url}>/js/wap/owl.carousel.js"></script> 
<script type="text/javascript">
	$(document).ready(function() {
		$("#owl-demo").owlCarousel({
			items :6,
			lazyLoad : true,
			navigation : true
		});
	});
</script>
</head>

<body style="background:#f8f9fa;">
	
    <section class="warp">
    	<div class="content">
<!--            <header>
            	<div class="search fl"><img src="<{$res_url}>/images/wap/icon1.png" width="20"></div>
                <div class="logo">选择商品</div>
            </header>-->
            
            <div class="recommend_pro">
            	<ul class="clearfix">
                    <{foreach from=$goodslist item=goods}>
                	<li>
                    	<a href="agoods-info.html?goods_id=<{$goods.goods_id}>"><img src="<{$goods.default_img_url}>" width="100%"></a>
                        <p><{$goods.goods_name}></p>
                        <p><{if $goods.is_opinions || $goods.is_comment}>
                            <span class='active'><img src="<{$res_url}>/images/wap/icon25.png" width="20">已推荐</span>
                            <{else}>
                            <span><a hrf='add_opinions.html'><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</a>></span>
                            <{/if}>
                            <time>2015-06-28</time></p>
                    </li>
                    <{/foreach}>
<!--                    <li>
                    	<a href="#"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></a>
                        <p>极简银饰情侣对戒</p>
                        <p><span><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</span><time>2015-06-28</time></p>
                    </li>
                    <li>
                    	<a href="#"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></a>
                        <p>极简银饰情侣对戒</p>
                        <p><span><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</span><time>2015-06-28</time></p>
                    </li>
                    <li>
                    	<a href="#"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></a>
                        <p>极简银饰情侣对戒</p>
                        <p><span><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</span><time>2015-06-28</time></p>
                    </li>
                    <li>
                    	<a href="#"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></a>
                        <p>极简银饰情侣对戒</p>
                        <p><span><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</span><time>2015-06-28</time></p>
                    </li>
                    <li>
                    	<a href="#"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></a>
                        <p>极简银饰情侣对戒</p>
                        <p><span><img src="<{$res_url}>/images/wap/icon25.png" width="20">推荐</span><time>2015-06-28</time></p>
                    </li>-->
                </ul>
            </div>
<!--            <script type="text/javascript">
            	$(document).ready(function() {
                    $(".recommend_pro ul li span").click(function(){
							$(this).addClass("active").text("已推荐")
						})
                });
            </script>-->
        </div>
    </section>
  